From: Matthieu Gallien Date: Tue, 18 Mar 2025 08:35:13 +0000 (+0100) Subject: skip single test or whole test file for macOS: they are broken X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2^2~28^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=abd4cf5252e620a067e351bfa4604047c1f8a115;p=nextcloud-desktop.git skip single test or whole test file for macOS: they are broken would need careful analyze to fix those until we can get them fixed, better make the other tests be required in the CI Signed-off-by: Matthieu Gallien --- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ada0d64c5..2c66540f1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -47,9 +47,9 @@ nextcloud_add_test(Utility) if (NOT APPLE) nextcloud_add_test(SyncEngine) + nextcloud_add_test(SyncVirtualFiles) endif() -nextcloud_add_test(SyncVirtualFiles) nextcloud_add_test(SyncMove) nextcloud_add_test(SyncDelete) nextcloud_add_test(SyncConflict) diff --git a/test/testfolderwatcher.cpp b/test/testfolderwatcher.cpp index 598c361a7..ef368a792 100644 --- a/test/testfolderwatcher.cpp +++ b/test/testfolderwatcher.cpp @@ -331,6 +331,10 @@ private slots: } void testDetectLockFilesExternally() { +#if defined Q_OS_MACOS + QSKIP("not reliable on macOS"); +#endif + QStringList listOfOfficeFiles = {QString(_rootPath + "/document.docx"), QString(_rootPath + "/document.odt")}; std::sort(std::begin(listOfOfficeFiles), std::end(listOfOfficeFiles)); diff --git a/test/testsyncmove.cpp b/test/testsyncmove.cpp index 8b5ef5806..4f775c7fc 100644 --- a/test/testsyncmove.cpp +++ b/test/testsyncmove.cpp @@ -976,6 +976,10 @@ private slots: void testMovedWithError() { +#if defined Q_OS_MACOS + QSKIP("not reliable on macOS"); +#endif + QFETCH(Vfs::Mode, vfsMode); const auto getName = [vfsMode] (const QString &s) {